package agentspeakeditor.editors.common.AST.Expression;

import java.util.List;
import java.util.Vector;

import agentspeakeditor.editors.common.AST.AST;
import agentspeakeditor.editors.common.AST.Terminal.LogicOperator;
import agentspeakeditor.editors.common.checker.SemanticException;
import agentspeakeditor.editors.common.checker.Visitor;

public class LogicExpr extends AST{
	
	private List<ExprBase> list = new Vector<ExprBase>();
	private List<LogicOperator> operadores = new Vector<LogicOperator>();
	
	public LogicExpr(List<ExprBase> list, List<LogicOperator> operadores) {
		this.list = list;
		this.operadores = operadores;
	}
	
	public List<ExprBase> getList() {
		return list;
	}

	public void setList(List<ExprBase> list) {
		this.list = list;
	}

	public List<LogicOperator> getOperadores() {
		return operadores;
	}

	public void setOperadores(List<LogicOperator> operadores) {
		this.operadores = operadores;
	}

	@Override
	public Object visit(Visitor v, Object arg) throws SemanticException {
		return v.visitLogicExpr(this, arg);
	}

	@Override
	public String toString(int level) {
		// TODO Auto-generated method stub
		return null;
	}

}
